-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli] Make chunk size configurable for chunked publish #15427
Merged
Merged
+34
−12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xjunha
requested review from
gregnazario,
banool,
davidiw,
movekevin and
wrwg
as code owners
November 29, 2024 08:33
⏱️ 2h 12m total CI duration on this PR
|
aptos-move/e2e-move-tests/src/tests/large_package_publishing.rs
Outdated
Show resolved
Hide resolved
* Added a new `chunk_size` option to `ChunkedPublishOption` * Updated `MAX_CHUNK_SIZE_IN_BYTES` to be of type `&str` with a value of `55000`
0xjunha
force-pushed
the
chunk-size-config
branch
from
November 29, 2024 08:41
0d48d77
to
50ed04e
Compare
wrwg
approved these changes
Nov 29, 2024
banool
approved these changes
Nov 29, 2024
gregnazario
approved these changes
Nov 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, dport's comments should be addressed. Changelog should be 60 -> 50 k
And the default_value_t will make it easier but it's not the end of the world
* Updated to use `default_value_t` instead of `default_value` with additional parser * Added `CHUNK_SIZE_IN_BYTES` change info in the change log
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updated the chunked publish mode in the CLI to include an option for configuring the chunk size.
This gives more flexibility since the chunked publish mode utilizes nearly the maximum payload size permitted for a single transaction. This change helps to handle failures when gas charges are updated.
chunk_size
option toChunkedPublishOption
MAX_CHUNK_SIZE_IN_BYTES
to be of type&str
with a value of55000
How Has This Been Tested?
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist